function ajax_getContent(dataSource, divID, iconW, iconH, cb) {
	var XMLHttpRequestObject = false;
	if (window.XMLHttpRequest) 
	{
		XMLHttpRequestObject = new XMLHttpRequest();
		
	}

	var obj = document.getElementById(divID);
	if(obj == null) 
		alert(divID + " is null");
	obj.innerHTML="<img src=images/progressbar.gif width='"+iconW+"' height='"+iconH+"' style='margin: 2px;'>";
	XMLHttpRequestObject.open("GET", dataSource,true);
	XMLHttpRequestObject.onreadystatechange = function() {
	/* readyState  
		1: loading
		2: Loaded
		3: Interactive
		4: Done 
	*/
		if(XMLHttpRequestObject.readyState == 4 &&
			XMLHttpRequestObject.status == 200) {
			//obj.innerHTML = XMLHttpRequestObject.responseText;
			obj.innerHTML="";
			cb(XMLHttpRequestObject.responseText);
		}
	}
	XMLHttpRequestObject.send(null);
	
}
function ajax_getResponseMilliSeconds(dataSource, divID, iconW, iconH) {
	var XMLHttpRequestObject = false;
	if (window.XMLHttpRequest) 
	{
		XMLHttpRequestObject = new XMLHttpRequest();
		
	}

	var obj = document.getElementById(divID);
	var dt = new Date();
	var startS=dt.getTime(); 
	var startM=dt.getMilliseconds(); 
	if(obj == null) 
		alert(divID + " is null");
	obj.innerHTML="<img src=images/progressbar.gif width='"+iconW+"' height='"+iconH+"' style='margin: 2px;'>";
	XMLHttpRequestObject.open("GET", dataSource,true);
	XMLHttpRequestObject.onreadystatechange = function() {
	/* readyState  
		1: loading
		2: Loaded
		3: Interactive
		4: Done 
	*/
		if(XMLHttpRequestObject.readyState == 4 &&
			XMLHttpRequestObject.status == 200) {
			var dt2 = new Date();
			var startS2=dt2.getTime(); 
			var startM2=dt2.getMilliseconds(); 
			var consume = ((startS2-startS)+ (startM2-startM));
			obj.innerHTML = consume;
		}
	}
	XMLHttpRequestObject.send(null);
}
